﻿using System;
using System.Windows.Navigation;
using MetroGA.Wp8;

namespace MetroGA.Samples.WindowsPhone8
{
	public partial class MainPage
	{
		public MainPage()
		{
			InitializeComponent();
		}

		protected override void OnNavigatedTo(NavigationEventArgs e)
		{
			base.OnNavigatedTo(e);
			MetroAnalytics.Current.TrackEvent("App", "Say", "Hello");
			MetroAnalytics.Current.TrackEvent("App", "Say", "Kikou", viewType: typeof(MainPage));
			MetroAnalytics.Current.TrackTiming("app", "launch", TimeSpan.FromSeconds(42));
		}
	}
}